package org.zcl.service.impl;

import org.springframework.stereotype.Service;
import org.zcl.entity.request.DateModelRequest;
import org.zcl.entity.response.DateModelResponse;
import org.zcl.service.DateService;

/**
 * @author zhuchenglin
 * @since 2024/2/5 18:00
 */
@Service
public class DateServiceImpl implements DateService {

    @Override
    public DateModelResponse getTime(DateModelRequest dateModelRequest) {
        DateModelResponse dateModelResponse = new DateModelResponse();
        dateModelResponse.setStartTime(dateModelRequest.getStartTime());
        dateModelResponse.setEndTime(dateModelRequest.getEndTime());
        return dateModelResponse;
    }
}
